inspector: Refactor object tree construction
authorBenjamin Otte <otte@redhat.com>
Wed, 26 Aug 2015 13:28:22 +0000 (15:28 +0200)
committerBenjamin Otte <otte@redhat.com>
Wed, 26 Aug 2015 13:46:07 +0000 (15:46 +0200)
commitc7ed2c21307efe26f2259bd28ef076bdff0a2b78
treea3d357ffa46eaa71b42b6a10be404382eb2aa4a4
parent5037d134c56ab827a18b965442f5fcac95c9ee8a
inspector: Refactor object tree construction

Instead of having lots of if statements, create a vtable. This will be
useful for the following patches.
gtk/inspector/object-tree.c